import Vue from 'vue';
import App from './App.vue';
import router from './router/index.js';
import store from './store/store.js';
import 'amfe-flexible';

import Cube from 'cube-ui';
import axios from 'axios';
// axios.defaults.baseURL = 'https://www.easy-mock.com/mock/5bff4aff6c369f2446839730/wechat';
// axios.defaults.baseURL = 'http://192.168.2.114:8036/weixin';
// axios.defaults.baseURL = 'http://172.26.48.246:8070/weixin';
axios.defaults.baseURL = 'http://weixin.zihuayuedu.com/weixin';
// axios.defaults.baseURL = 'http://192.168.2.101:8036/weixin';
// axios.defaults.baseURL = 'http://127.0.0.1/weixin';
axios.defaults.headers.post['Content-Type'] = 'application/json';
Vue.prototype.$http = axios;
Vue.use(Cube);
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');